<div class="container-fluid" style="margin: 0px 15px 0px 15px;">
<ol class="breadcrumb">
  <li><a href="<?php echo base_url('/index.php/inicio');?>">Início</a></li>
  <li><a href="<?php echo base_url('index.php/solicitacoes/consultasolicitacoes');?>">Solicitações</a></li>
  <li class="active">Histórico Solicitações/Sugestões</li>
</ol>
			<fieldset>
				<legend>Histórico Solicitações/Sugestões</legend>
				<table id="example" class="display responsive nowrap" cellspacing="0" width="100%">
					<thead>
						<tr>
							<th>ID</th>
							<th>Data Solicitacao</th>
							<th>Contato</th>
							<th>Ramal</th>
							<th>E-mail</th>
							<th>Justificativa</th>
							<th>Atendido por</th>
							<th>Solução</th>
						</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
				
				
			</div>
			</fieldset>
		<script type="text/javascript">
			$(document).ready(function(){
				$('#example').DataTable({
					"processing": true,
					"serverSide": true,
					"ajax": {
						"url": "<?php echo base_url('index.php/solicitacoes/historicoJson'); ?>",
					},
					"order": [[ 0, "desc" ]],
					"language": {
						"url": "<?php echo base_url('includes/js/Portuguese-Brasil.json'); ?>"
					},
					 "pagingType": "simple"
				});
			});

			/*$("#form").submit(function( event ) {
				event.preventDefault();
					$( "#form" ).submit();
				}
			});
			*/
			
		</script>
</body>
</html>
